package org.jeecg.modules.business.transfer.entity.vo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 纸筒采购任务查询参数
 * @Author: jeecg-boot
 * @Date:   2024-01-15
 * @Version: V1.0
 */
@Data
public class PaperPurchaseParam implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**部门*/
    @ApiModelProperty(value = "部门")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "org_code")
    private String sysOrgCode;
	/**组织*/
    @ApiModelProperty(value = "组织")
    private String organization;
	/**单据类型*/
    @ApiModelProperty(value = "单据类型")
    @Dict(dicCode = "document_task")
    private String documentType;
	/**单据编号*/
    @ApiModelProperty(value = "单据编号")
    private String documentCode;
    /**单据状态*/
    @ApiModelProperty(value = "单据状态")
    @Dict(dicCode = "paper_purchase_status")
    private String documentStatus;
	/**日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "日期")
    private Date[] documentDate;
	/**仓管员*/
    @ApiModelProperty(value = "仓管员")
    private String warehouseKeeper;
	/**备注*/
    @ApiModelProperty(value = "备注")
    private String remark;
	/**入库凭证*/
    @ApiModelProperty(value = "入库凭证")
    private String voucher;
	/**来源系统*/
    @ApiModelProperty(value = "来源系统")
    private String originalSystem;
	/**来源单据*/
    @ApiModelProperty(value = "来源单据")
    private String originalSystemNumber;
	/**SAP凭证号*/
    @ApiModelProperty(value = "SAP凭证号")
    private String sapCode;

    /**物料编码*/
    @ApiModelProperty(value = "物料编码")
    private String materialCode;
    /**物料名称*/
    @ApiModelProperty(value = "物料名称")
    private String materialName;
    /**规格型号*/
    @ApiModelProperty(value = "规格型号")
    private String specification;

}
